# -*- conding:UTF-8 -*-

'''
@ Project: one-group
@ File: qiniu_token.py
@ Author: 孙博
@ Date：2022/6/10 16:48

'''
from qiniu import Auth

AccessKey = 'V9i9QatJ8no4W0ro87OkBL7k6bmGLsX_pyhhvsxO'
SecretKey = 'K8RDP1uU6cCv5R8rN7qGysLWYJOPwcmB6TI700JD'


def qiniu_token():
    q = Auth(AccessKey, SecretKey)
    bucket = 'sunbo2'
    token = q.upload_token(bucket)
    return token